package com.example.test.agent.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.*;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户角色表(UserRole)实体类
 *
 * @author makejava
 * @since 2021-05-20 19:55:17
 */
@Data
@ApiModel("用户角色表")
@TableName("user_role")
public class UserRole implements Serializable {


    @ApiModelProperty("ID")
    @TableId(type = IdType.AUTO)
    private Integer id;


    @ApiModelProperty("角色id")
    private Integer roleId;


    @ApiModelProperty("用户id")
    private Integer userId;


    @ApiModelProperty("添加时间戳")
    private Integer joinTime;


    @ApiModelProperty("状态，1可用0不可用")
    private Integer status;

}
